package com.sc.nft.admin.request;


import com.sc.nft.enums.DaoEcologyPointsWalletLogTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AdminEditDaoPointsRequest {

    @ApiModelProperty(value = "dao id")
    @NotNull(message = "dao id不能为空")
    private Long daoId;

    @ApiModelProperty(value = "积分id")
    private Long pointsId;

    @ApiModelProperty(value = "积分名称")
    private String pointsName;

    @ApiModelProperty(value = "加还是减 true加 false减")
    //@NotNull(message = "加还是减不能为空")
    private Boolean isAdd;

    @ApiModelProperty(value = "燃料数量")
    @NotNull(message = "燃料数量不能为空")
    private String amount;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "加减")
    @NotNull(message = "加还是减不能为空")
    DaoEcologyPointsWalletLogTypeEnum daoEcologyPointsWalletLogTypeEnum;
}
